package com.xzw.test.springcloud.alibaba;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * 参考文档: https://spring-cloud-alibaba-group.github.io/github-pages/hoxton/zh-cn/index.html#_%E4%BB%8B%E7%BB%8D
 * 如果用 application.properties 命名会报  endpoint is blank 异常信息
 * 最后改成bootstrap.properties 就解决了这个问题，详情请参考如下网址
 * https://blog.csdn.net/weixin_44949177/article/details/107841542
 */
@SpringBootApplication
@EnableDiscoveryClient
public class NacosProviderDemoApplication
{
    public static void main( String[] args )
    {
        SpringApplication.run(NacosProviderDemoApplication.class, args);
    }
}
